package sdfi.lee.Question;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AnswerSet implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7586486137159534440L;
	private List<Answer> anwerlist=null;
	private Answer realAnswer=null;

	public List<Answer> getAnwerlist() {
		if(this.anwerlist==null)	this.anwerlist=new ArrayList<Answer>();
		return anwerlist;
	}
	public void setAnwerlist(List<Answer> anwerlist) {
		this.anwerlist = anwerlist;
	}
	public Answer getRealAnswer() {
		
		return realAnswer;
	}
	public void setRealAnswer(Answer realAnswer) {
		this.realAnswer = realAnswer;
	}
	public void addToAnswerList(Answer e)
	{
		this.getAnwerlist().add(e);
	}
}
